package annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)//何时起作用
@Target(ElementType.TYPE)//作用范围
public @interface Service {
    public String name() default "";
}
